# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-construct
pkgver=2.10.67
pkgrel=2
pkgdesc="A powerful declarative symmetric parser/builder for binary data"
url="https://construct.readthedocs.io/en/latest/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev py3-setuptools"
source="https://pypi.io/packages/source/c/construct/construct-$pkgver.tar.gz"
builddir="$srcdir/construct-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="aba6da3449ab9b7102d004feda15a5294ba03f3003c2e48ec2e1ec982077376a2fa5bc12a73cc30b4ddf1646c019c7c7c9dc0775eeb832dba5cdda94f12388bc  construct-2.10.67.tar.gz"
